package com.fzk.blog.settings.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fzk.blog.bean.Tag;
import com.fzk.blog.bean.vo.TagInfo;

import java.util.List;

/**
 * @author fzk
 * @date 2021-08-17 14:42
 */
public interface ITagService {
    List<TagInfo> getTagInfoList() throws JsonProcessingException;

    TagInfo getTagInfoById(int id) throws JsonProcessingException;

    TagInfo insertTag(Tag tag, int loginId) throws JsonProcessingException;

    TagInfo updateTag(Tag tag, int loginId) throws JsonProcessingException;

    TagInfo deleteTag(int tagId, int loginId);
}
